package com.wufun.overseas.models.bean;


/**
 * Created by pengsk on 2014/12/31.
 */
public class ResultMainBean<E>{
    private int flag;
    private int code;
    private String version;
    private String requesttype;
    private String error_info;
    private ResultMessageBean<E> messages;

    public ResultMainBean() {
    }

    public String getError_info() {
        return error_info;
    }

    public void setError_info(String error_info) {
        this.error_info = error_info;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getRequesttype() {
        return requesttype;
    }

    public void setRequesttype(String requesttype) {
        this.requesttype = requesttype;
    }

    public ResultMessageBean<E> getMessages() {
        return messages;
    }

    public void setMessages(ResultMessageBean<E> messages) {
        this.messages = messages;
    }

    public ResultMainBean(int flag, int code, String version, String requesttype, ResultMessageBean<E> messages) {
        this.flag = flag;
        this.code = code;
        this.version = version;
        this.requesttype = requesttype;
        this.messages = messages;
    }
}
